﻿using AutoMapper;
using Microsoft.Extensions.DependencyInjection;

namespace HamcoWcs.Contract
{
    public abstract class SingleServiceBase
    {
        protected readonly IMapper _mapper;
        protected readonly IServiceScopeFactory _scopeFactory;
        public SingleServiceBase(IMapper mapper, IServiceScopeFactory scopeFactory)
        {
            _mapper = mapper;
            _scopeFactory = scopeFactory;
        }
    }
}
